package com.cloudkinto.service.platform.sync;

import com.cloudkinto.entity.PlatformOrderSyncRecordDo;
import com.baomidou.mybatisplus.extension.service.IService;

import com.cloudkinto.common.web.PageResult;
import com.cloudkinto.common.web.SingleResult;
import com.cloudkinto.service.consumer.vo.orderSyncRecord.PlatformOrderSyncRecordReq;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  service接口
 * </p>
 * @author hua
 * @since 2025-06-17
 */
public interface PlatformOrderSyncRecordService extends IService<PlatformOrderSyncRecordDo> {

    int delete(Long id, Long userId);

    Object detail(Long id);

    SingleResult pageInit();



    PageResult getListPage(Map<String, String> map);

    void updateRecord(Long id, Integer syncStatus, String failReason);

    void updateSyncRecord(PlatformOrderSyncRecordReq req);
}
